package com.kingmed.kmss.framework.feign.client.hr;


import com.kingmed.kmss.common.dto.admin.ums.HRQueryDTO;
import com.kingmed.kmss.common.exception.external.ExternalApiException;
import feign.Response;
import org.springframework.stereotype.Component;


@Component
public class RemoteHRFallbackService implements RemoteHRSService {

    @Override
    public Response getOrgList(HRQueryDTO queryDTO) {
        throw new ExternalApiException("->数据中台dcai: 获取组织结构信息失败");
    }

    @Override
    public Response getEmployeeList(HRQueryDTO queryDTO) {
        throw new ExternalApiException("->数据中台dcai: 获取员工信息失败");
    }
}
